package com.lisn.sghook_lancet;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;

public class MainActivity extends AppCompatActivity implements View.OnClickListener {

    private static final String TAG = MainActivity.class.getSimpleName();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.button).setOnClickListener(this);

        Log.e(TAG, "onCreate: ");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.e(TAG, "onResume: ");
    }

    @Override
    public void onClick(View v) {
        if (v.getId() == R.id.button) {
            // Tools.evilCode();

            String clipBoardStr = Tools.getClipBoardStr(this);
            Log.e(TAG, "onClick: clipBoardStr = " + clipBoardStr);
        }
    }
}